require("@nomicfoundation/hardhat-toolbox");

//require("@nomiclabs/hardhat-ethers")
require('dotenv').config()

const RINKEBY_RPC_URL = process.env.RINKEBY_RPC_URL || 
"https://eth-rinkeby.alchemyapi.io/v2/your-api-key"
const PRIVATE_KEY = process.env.PRIVATE_KEY || "abcdef"

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  defaultNetwork: "goerli",
  networks: {
      hardhat: {
          // // If you want to do some forking, uncomment this
          // forking: {
          // url: MAINNET_RPC_URL
          // }
      },
      localhost: {
      },
      goerli: {
          url: RINKEBY_RPC_URL,
          accounts: [PRIVATE_KEY],
          saveDeployments: true,
      },
  },
  solidity: "0.8.24",
};
